package record.annotation;

import record.type.CommonOperateTypeHandler;

import java.lang.annotation.*;

/**
 * @Package: com.Record.Core
 * @ClassName: RecordAnnotation
 * @Author: wulongkai
 * @CreateTime: 2023/12/19 14:41
 * @Description:
 */
@Documented
@Target({ElementType.TYPE, ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface RecordAnnotation {

    String desc() default "";

    Class<?> typeHandlerClass() default CommonOperateTypeHandler.class;

    boolean mapKey() default false;
}
